package com.cloud.cmt.usermanage.dao;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.cmt.usermanage.entity.vo.EnterpriseReferrerVO;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 浙江卓锐科技股份有限公司 版权所有 © Copyright 2017<br>
 * 说明: 企业推荐人关联表<br>
 * 项目名称: cloud-maintenance <br>
 * 创建日期: 2017年10月22日 16:48 <br>
 * 作者: <a href="6492178@gmail.com">汪萌萌</a>
 */
@Data
@NoArgsConstructor
@Entity(name = "enterpriseReferrer")
@ApiModel
@Table(name = "enterprise_referrer")
public class EnterpriseReferrerDAO extends EnterpriseReferrerVO {
    @JsonProperty("enterprise_id")
    @ApiModelProperty(hidden = true)
    private Long enterpriseId;


}
